import {createRouter,createWebHistory}from 'vue-router'
const routes=[
    {
        path:'/',
        component:()=>import('../components/Home.vue')
    },
    {
        path:'/home',
        component:()=>import('../components/Home.vue')
    },
    {
        path:'/login',
        component:()=>import('../components/Login.vue')
    },
    {
        path:'/shujia',
        component:()=>import('../components/shujia.vue')
    }
]
const router=createRouter({
    history:createWebHistory(),
    routes
})

export default router